cd darkchannel
mkdir build
cd build
cmake .. && make -j 2
mv dehaze ../../dehaze
cd ../../COH
mkdir build
cd build
cmake .. && make -j 2
mv coh ../../coh
cd ../../